using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using XFABManager;
using XFGameFramework;

public class FightUIController : Controller
{
    private FightPanel fightPanel;
    public void UpdateAllText(PlayerModel player,EnemyModel enemy)
    {
        fightPanel.UpdateAllText(player,enemy);
    }
    //每个回合结束调用  更新敌我血量
    public void UpdateHp(int playerHp , int enemyHp )
    {
        fightPanel.UpdatePlayerHpText(playerHp, enemyHp);
    }
    public override void OnInit()
    {
        base.OnInit();
        fightPanel = Module.GetView<FightPanel>();
    }

}
